package model.entity;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import com.sun.istack.internal.NotNull;

@Entity
@DiscriminatorValue(value = "0")
public class Dentista extends Usuario {

	private int cro;

	/**
	 * @return the cro
	 */
	@Column(name = "CRO")
	@NotNull
	public int getCro() {
		return cro;
	}

	/**
	 * @param cro the cro to set
	 */
	public void setCro(int cro) {
		this.cro = cro;
	}
	
	
	
}
